package test.tij.chapter2.test1;

import java.util.Date;
import java.util.Properties;

/**
 * 
 * @author yayang
 * @see test.generic.GenericList <em>lalala</em>
 *      <ol>
 *      <li>1</li>
 *      <li>2</li>
 *      </ol>
 */
public class Property
{
	/**
	 * @see test.generic.GenericList.newInstances()
	 * @param args
	 *            ...
	 * @param another
	 *            ...
	 * @return ...
	 * @exception ...
	 */
	private Integer integer;
	private Date date;
	private String str;
	
	
	public static void main(String[] args)
	{
		/**\n is a separater
		 * while the outer "" or '' is not considered in the parameter  
		 */
		if (args != null)
		{
			for(String str : args){
				System.out.println(str!=null?str.toString():"");
			}
		}
		System.out.println("===============================================================");
		System.out.println(new Date());
		Properties p = System.getProperties();
		p.list(System.out);
		System.out.println("--- Memory Usage:");
		Runtime rt = Runtime.getRuntime();
		System.out.println("Total Memory = " + rt.totalMemory()
				+ " Free Memory = " + rt.freeMemory());
	}
}
